home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14977 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: solaris.cc.vt.edu!tyagi
  2. From: tyagi@vt.edu (Dhawal Tyagi)
  3. Newsgroups: comp.unix.programmer,comp.unix.internals,comp.lang.c
  4. Subject: Re: C compiler Error on EXEC SQL
  5. Date: Tue, 16 Apr 1996 11:09:07 -0500
  6. Organization: Communications Network Services
  7. Message-ID: <tyagi-1604961109070001@news.vt.edu>
  8. References: <4kkej2$3ta@news.cc.utah.edu>  <4knjii$i9s@nadine.teleport.com> <NEWTNews.829628398.26731.ggil@dialup.netvision.net.il>
  9. NNTP-Posting-Host: srishti.cns.vt.edu
  10. X-Newsreader: Yet Another NewsWatcher 2.2.0b6
  11.  
  12. In article <NEWTNews.829628398.26731.ggil@dialup.netvision.net.il>,
  13. ggil@netvision.net.il wrote:
  14.  
  15. In Article<4knjii$i9s@nadine.teleport.com>, <hksys@teleport.com> writes:
  16.  
  17. > >I post this for my friend who has no access to the internet and would like 
  18. to
  19. > >get help from C experts in the Net. She has a C program left over from a 
  20. guy
  21. > >left the company. The C source code is included below as well as the 
  22. compiler
  23. > >error generated by HP UNIX. What is the EXEC SQL instruction ? It doesn't 
  24.  
  25. The "EXEC SQL" instruction is used in embedded SQL program. the program is
  26. related to database access. To compile it with a C compiler, first you have
  27. to pre-compile it with a pre-compiler, one such precompiler is proc, which
  28. is used with Oracle database. The precompiler will generate a .c file from
  29. a .pc file, you can then compile it with a regular C compiler, of course
  30. you'll have to link to some other libs as well to make that EXEC SQL work.
  31.  
  32. Hope this helps
  33.  
  34. Regards
  35.  
  36. Dhawal
  37. --
  38. Programmer/Analyst
  39. Communications Network Services.
  40. 1700 Pratt Dr., Blacksburg, VA 24061-0506
  41. Office phone # (540) 231-7973
  42. http://morse.cns.vt.edu:8000/~tyagi/tyagi.html
  43.